package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位内的印章类型对象 seal_type_in_unit
 * 
 * @author ess
 * @date 2021-10-18
 */
public class SealTypeInUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long unitSealTypeId;

    /** 单位id */
    @Excel(name = "单位id")
    private String unitId;

    /** 印章类型id */
    @Excel(name = "印章类型id")
    private String sealTypeId;

    /** 状态 1有效 0无效  创建完印章类型之后将该条信息置为无效 */
    @Excel(name = "状态 1有效 0无效  创建完印章类型之后将该条信息置为无效")
    private Long state;

    public void setUnitSealTypeId(Long unitSealTypeId) 
    {
        this.unitSealTypeId = unitSealTypeId;
    }

    public Long getUnitSealTypeId() 
    {
        return unitSealTypeId;
    }
    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }
    public void setSealTypeId(String sealTypeId) 
    {
        this.sealTypeId = sealTypeId;
    }

    public String getSealTypeId() 
    {
        return sealTypeId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitSealTypeId", getUnitSealTypeId())
            .append("unitId", getUnitId())
            .append("sealTypeId", getSealTypeId())
            .append("state", getState())
            .toString();
    }
}
